package com.koron.css2.serviceManage.service;

import com.koron.css2.serviceManage.bean.TService;
import com.koron.css2.serviceManage.mapper.TServiceMapper;
import com.koron.css2.serviceManage.queryBean.TServiceQueryBean;
import org.koron.ebs.mybatis.SessionFactory;
import org.swan.bean.MessageBean;

import java.util.List;

public class ModelDetail {
	
	public static final String[] OPERATOR = {"List", "Query", "Select", "Save", "Update", "Add", "Delete", "", "", ""};
	
	public MessageBean<?> update(SessionFactory factory){
		TServiceMapper mapper = factory.getMapper(TServiceMapper.class);
		List<TService> serviceList = mapper.findAllService(new TServiceQueryBean());
		for(TService service : serviceList) {
			String serviceCode = service.getServiceCode();
			
		}
		return null;
	}

}
